import Vue from 'vue'
import App from './App.vue'

import router from './router'
import store from './store'
import './router/permissionConfig'

import '@mdi/font/css/materialdesignicons.css'

import vuetify from './plugins/vuetify'

import Message from '@/components/Message/index.js'
import Confirm from '@/components/Confirm/index.js'

import './registerServiceWorker'

// if (process.env.NODE_ENV === 'development') {
require('./mock')
// }

Vue.config.productionTip = false

Vue.prototype.$message = Message
Vue.prototype.$confirm = Confirm

new Vue({
  router,
  store,
  vuetify,
  render: h => h(App)
}).$mount('#app')
